package com.gbits.app.finance.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.gbits.websns.kernelsdk.facade.support.entity.impl.BaseEntity;

/**
 * 成本中心与科目的对应表
 * 
 * @author wangqt
 *
 */
@Entity
@Table(name="tpl_finance_costorg_subjects")
public class CostOrgSubjectMapper extends BaseEntity {

	/**
	 * 科目代码
	 */
	@Column(name="SUBJECT_CODE")
	private String subjectCode;
	/**
	 * 成本中心名称
	 */
	@Column(name="COST_ORG_NAME")
	private String costOrgName;
	/**
	 * 机构代码
	 */
	@Column(name="ORG_CODE")
	private String orgCode;
	/**
	 * 类型
	 */
	@Column(name="TYPE")
	private Integer type;
	public String getSubjectCode() {
		return subjectCode;
	}
	public void setSubjectCode(String subjectCode) {
		this.subjectCode = subjectCode;
	}
	public String getCostOrgName() {
		return costOrgName;
	}
	public void setCostOrgName(String costOrgName) {
		this.costOrgName = costOrgName;
	}
	public String getOrgCode() {
		return orgCode;
	}
	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
}
